<template>
  <view class="cover-picture" :class="{ disabled }">
    <alt-picture transparent :src="src" />
  </view>
</template>

<script setup lang="ts">
defineProps<{
  src: string
  disabled?: boolean
}>()
</script>

<style scoped lang="less">
.cover-picture {
  width: 374rpx;
  height: 418rpx;
  &.disabled {
    opacity: 0.6;
  }
}
</style>
